package com.dsteiner.widgets.client.domain;

import java.io.Serializable;
import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public abstract class ModelObject extends BaseObject{

	public abstract String getId();
	public abstract void setId(String id);
	public abstract Date getRegisteredDate();
	
	@Override
	public String toString() {
		return getClass()+":"+getId();
	}
	
	@Override
	public int hashCode() {
		return getId().hashCode();
	}
}
